package com.ubo.uspeed;

import java.util.ArrayList;
import java.util.List;

public class UPackage {

	protected String mName;
	protected String mType;
	protected List<Classifier> listC;
	protected List<UPackage> listP;

	public UPackage(String mName) {
		super();
		this.mType = "package";
		this.mName = mName;
		listC = new ArrayList<Classifier>();
		listP = new ArrayList<UPackage>();

	}

	public String getmType() {
		return mType;
	}

	public String getmName() {
		return mName;
	}

	public void setmName(String mName) {
		this.mName = mName;
	}

	public List<Classifier> getListC() {
		return listC;
	}

	public void setListC(List<Classifier> listC) {
		this.listC = listC;
	}

	public List<UPackage> getListP() {
		return listP;
	}

	public void setListP(List<UPackage> listP) {
		this.listP = listP;
	}

	public void accept(Visiteur v) {
		v.visitPackage(this);
	}
}
